package cn.wang.service.sysadmin;

import cn.wang.entity.sysadmin.User;
import cn.wang.utils.Pagination;

import java.util.List;

/**
 * Created by john on 2017/11/1.
 * 部门分类
 */
public interface UserService {
    Pagination findPage(int pageNo, int pageSize, User user);

    List<User> findAll();

    User findById(String id);

    void save(User model);

    void delete(String[] ids);

    void update(User model);

    void updateRole(String id, String[] roleIds);

    User findByUserName(String username);

    User activty(User model);
}
